﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TestCase.Master" AutoEventWireup="true" CodeBehind="SiteMapBasedNavigationTests.aspx.cs" Inherits="OpenWaves.Web.Tests.SiteMapBasedNavigationTests" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TestCasePlaceHolder" runat="server">
    <div>
        <ow:Navigation ID="Navigation1" runat="server" DataSourceID="eloMelo">
            <Template>
                <ul>
                    <ow:ChildNodesPlaceHolder runat="server" />
                </ul>
            </Template>

            <NodeTemplate>
                <li>
                    <span><%# Container.Node.Name %> State: <%#Container.NodeState %></span>
                    <ow:ChildNodesPlaceHolder runat="server">
                        <ul>
                            <ow:ItemsPlaceHolder runat="server" />
                        </ul>
                    </ow:ChildNodesPlaceHolder>
                </li>
            </NodeTemplate>
            
            <ThirdLevelNodeTemplate>
                <li>
                    Third: <span><%#Container.Node.Name %> State: <%#Container.NodeState %> </span>
                </li>
            </ThirdLevelNodeTemplate>
        </ow:Navigation>
        
        <asp:SiteMapDataSource runat="server" ID="eloMelo" />
    </div>
</asp:Content>
